<?php
/**
 * File: header.php
 * Author: CIS505 TEAM 1
 * Date: 2012-11-29
 * Modified: 2012-11-14
 * Modified Reason: Corrected the Internships link to return to the index page
 * Purpose: to display header information
 */

/**
 * header
 */


function displayHeader( )
{
  $userID = $_SESSION['userID'];
  $userName = $_SESSION['userName'];

  echo <<<_END

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">


  <head>
    <title>Internship Listing</title>
    
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <link rel="stylesheet" href="../css/i2c.css" type="text/css" />
  </head>

 <div id="loginText"><div class="loginText">
              <!-- UserID: $userID--> 
              Logged in as: $userName | <a href="userControl.php">Settings</a> | <a href="logout.php">Logout $userName</a>
              </div></div>
  <body>
    <div id="headContainer">
  
<div id="header">
  <div id="logo"></div> <!-- end #logo -->

<div id="loggedIn">
           
    </div> <!-- end #loggedIn -->

    </div> <!-- end #header -->


    </div> <!-- end #headContainer -->


_END;
}
?>